Part Number Hot Search : 
P80N0 356VF5 SMDA05 246GN 356VF5 LC128B TM204I 74125
Product Description
Full Text Search
 

To Download LSM9DS0 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  this is information on a product in full production. august 2013 docid024763 rev 2 1/74 LSM9DS0 inemo inertial module: 3d accelerometer, 3d gyroscope, 3d magnetometer datasheet - production data features ? 3 acceleration channels, 3 angular rate channels, 3 magnetic field channels ? 2/4/6/8/16 g linear acceleration full scale ? 2/4/8/12 gauss magnetic full scale ? 245/500/2000 dps angular rate full scale ? 16-bit data output ? spi / i 2 c serial interfaces ? analog supply voltage 2.4 v to 3.6 v ? power-down mode / low-power mode ? programmable interrupt generators ? embedded self-test ? embedded temperature sensor ? embedded fifo ? position and motion detection functions ? click/double-click recognition ? intelligent power saving for handheld devices ? ecopack ? , rohs and ?green? compliant applications ? indoor navigation ? smart user interfaces ? advanced gesture recognition ? gaming and virtual reality input devices ? display/map orientation and browsing description the LSM9DS0 is a system-in-package featuring a 3d digital linear acceleration sensor, a 3d digital angular rate sensor, and a 3d digital magnetic sensor. the LSM9DS0 has a linear acceleration full scale of 2 g /4 g /6g/8 g /16 g, a magnetic field full scale of 2/4/8/12 gauss and an angular rate of 245/500/2000 dps . the LSM9DS0 includes an i 2 c serial bus interface supporting standard and fast mode (100 khz and 400 khz) and an spi serial standard interface. the system can be configured to generate interrupt signals on dedicated pins and is capable of motion and magnetic field detection. thresholds and timing of interrupt generators are programmable by the end user. magnetic, accelerometer and gyroscope sensing can be enabled or set in power-down mode separately for smart power management. the LSM9DS0 is available in a plastic land grid array package (lga) and it is guaranteed to operate over an extended temperature range from -40 c to +85 c. lga-24 (4x4x1.0 mm) table 1. device summary part number temperature range [c] package packing LSM9DS0 -40 to +85 lga-24 tray LSM9DS0tr -40 to +85 lga-24 tape and reel www.st.com
contents LSM9DS0 2/74 docid024763 rev 2 contents 1 block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 module specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.1 sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.3 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4 communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.4.1 spi - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.4.2 sensor i 2 c - inter-ic control interface . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.5 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.1 set / reset pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.1 linear acceleration sensor sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.2 magnetic sensor sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.3 angular rate sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.4 zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.5 zero-gauss level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.2.6 zero-rate level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1 self-test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1.1 accelerometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1.2 gyroscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2 linear acceleration main digital blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2.1 fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2.2 bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2.3 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2.4 stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2.5 stream-to-fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
docid024763 rev 2 3/74 LSM9DS0 contents 74 4.2.6 retrieving data from fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.3 gyroscope digital main blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.1 fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.2 bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.3 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.3.4 stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.3.5 bypass-to-stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.3.6 stream-to-fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.3.7 retrieving data from fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.4 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.5 factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.1 external capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.2 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.3 high current wiring effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.1 i 2 c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.1.1 i 2 c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2.3 spi read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 8 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 8.1 who_am_i_g (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 8.2 ctrl_reg1_g (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 8.3 ctrl_reg2_g (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 8.4 ctrl_reg3_g (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.5 ctrl_reg4_g (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8.6 ctrl_reg5_g (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8.7 reference/datacapture_g (25h) . . . . . . . . . . . . . . . . . . . . . . . . . 45 8.8 status_reg_g (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
contents LSM9DS0 4/74 docid024763 rev 2 8.9 out_x_l_g (28h), out_x_h_g (29h) . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.10 out_y_l_g (2ah), out_y_h_g (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.11 out_z_l_g (2ch), out_z_h_g (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.12 fifo_ctrl_reg_g (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.13 fifo_src_reg_g (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 8.14 int1_cfg_g (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 8.15 int1_src_g (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 8.16 int1_ths_xh_g (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 8.17 int1_ths_xl_g (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8.18 int1_ths_yh_g (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8.19 int1_ths_yl_g (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8.20 int1_ths_zh_g (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8.21 int1_ths_zl_g (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 8.22 int1_duration_g (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 8.23 out_temp_l_xm (05h), out_temp_h_xm (06h) . . . . . . . . . . . . . . . 52 8.24 status_reg_m (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.25 out_x_l_m (08h), out_x_h_m (09h) . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.26 out_y_l_m (0ah), out_y_h_m (0bh) . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.27 out_z_l_m (0ch), out_z_h_m (0dh) . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.28 who_am_i_xm (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.29 int_ctrl_reg_m (12h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.30 int_src_reg_m (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.31 int_ths_l_m (14h), int_ths_h_m (15h) . . . . . . . . . . . . . . . . . . . . . . 54 8.32 offset_x_l_m (16h), offset_x_h_m (17h) . . . . . . . . . . . . . . . . . . . 54 8.33 offset_y_l_m (18h), offset_y_h_m (19h) . . . . . . . . . . . . . . . . . . . 54 8.34 offset_z_l_m (1ah), offset_z_h_m (1bh) . . . . . . . . . . . . . . . . . . 54 8.35 reference_x (1ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.36 reference_y (1dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.37 reference_z (1eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.38 ctrl_reg0_xm (1fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.39 ctrl_reg1_xm (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.40 ctrl_reg2_xm (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 8.41 ctrl_reg3_xm (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
docid024763 rev 2 5/74 LSM9DS0 contents 74 8.42 ctrl_reg4_xm (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 8.43 ctrl_reg5_xm (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 8.44 ctrl_reg6_xm (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 8.45 ctrl_reg7_xm (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 8.46 status_reg_a (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 8.47 out_x_l_a (28h), out_x_h_a (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . 61 8.48 out_y_l_a (2ah), out_y_h_a (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.49 out_z_l_a (2ch), out_z_h_a (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.50 fifo_ctrl_reg (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.51 fifo_src_reg (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.52 int_gen_1_reg (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 8.53 int_gen_1_src (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 8.54 int_gen_1_ths (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 8.55 int_gen_1_duration (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 8.56 int_gen_2_reg (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 8.57 int_gen_2_src (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 8.58 int_gen_2_ths (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 8.59 int_gen_2_duration (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 8.60 click_cfg (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 8.61 click_src (39h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 8.62 click_ths (3ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 8.63 time_limit (3bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.64 time_latency (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.65 time window (3dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.66 act_ths (3eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.67 act_dur (3fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 10 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
list of tables LSM9DS0 6/74 docid024763 rev 2 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 3. sensor characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 4. temperature sensor electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 5. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 6. spi slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 7. i 2 c slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 8. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 9. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 10. i 2 c terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 table 11. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 12. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 13. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 32 table 14. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 32 table 15. linear acceleration and magnetic sensor sad+read/write patterns. . . . . . . . . . . . . . . . . . 33 table 16. angular rate sad+read/write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 17. register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 18. who_am_i_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 19. ctrl_reg1_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 20. ctrl_reg1_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 table 21. dr and bw configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 table 22. power mode selection configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 table 23. ctrl_reg2_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 24. ctrl_reg2_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 table 25. high-pass filter mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 table 26. high-pass filter cutoff frequency configuration (hz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 27. ctrl_reg3_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 28. ctrl_reg3_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 table 29. ctrl_reg4_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 30. ctrl_reg4_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 table 31. self-test mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 32. ctrl_reg5_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 33. ctrl_reg5_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 table 34. reference/datacapture_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 35. reference/datacapture_g description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 36. status_reg_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 table 37. status_reg_g description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 table 38. fifo_ctrl_reg_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 table 39. fifo_ctrl_reg_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 40. fifo mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 41. fifo_src_reg_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 42. fifo_src_reg_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 43. int1_cfg_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 44. int1_cfg_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 45. int1_src_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 46. int1_src_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 47. int1_ths_xh_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 table 48. int1_ths_xh_g description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
docid024763 rev 2 7/74 LSM9DS0 list of tables 74 table 49. int1_ths_xl_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 50. int1_ths_xl_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 51. int1_ths_yh_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 table 52. int1_ths_yh_g description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 53. int1_ths_yl_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 54. int1_ths_yl_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 55. int1_ths_zh_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 table 56. int1_ths_zh_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 57. int1_ths_zl_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 58. int1_ths_zl_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 table 59. int1_duration_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 60. int1_duration_g description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 61. status_reg_m register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 table 62. status_reg_m description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 table 63. who_am_i_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 64. int_ctrl_reg_m register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 65. int_ctrl_reg_m description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 66. int_src_reg_m register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 table 67. int_src_reg_m description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 68. ctrl_reg0_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 table 69. ctrl_reg0_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5 table 70. ctrl_reg1_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 table 71. ctrl_reg1_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 table 72. acceleration data rate configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 73. ctrl_reg2_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 74. ctrl_reg2_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 7 table 75. acceleration anti-alias filter bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 table 76. acceleration full-scale selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 77. self-test mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 78. ctrl_reg3_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 table 79. ctrl_reg3_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8 table 80. ctrl_reg4_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 table 81. ctrl_reg4_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8 table 82. ctrl_reg5_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 table 83. ctrl_reg5_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 9 table 84. magnetic data rate configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 85. ctrl_reg6_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 table 86. ctrl_reg6_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 0 table 87. magnetic full-scale selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 88. ctrl_reg7_xm register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 89. ctrl_reg7_xm description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 0 table 90. high-pass filter mode selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 91. magnetic sensor mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 92. status_reg_a register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 table 93. status_reg_a description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 table 94. fifo_ctrl_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 95. fifo_ctrl_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 table 96. fifo mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 97. fifo_src_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 98. fifo_src_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 99. int_gen_1_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 table 100. int_gen_1_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
list of tables LSM9DS0 8/74 docid024763 rev 2 table 101. interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 102. int_gen_1_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 103. int_gen_1_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 104. int1_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 105. int1_ths description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 106. int1_duration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 107. int1_duration description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 table 108. int_gen_2_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 109. int_gen_2_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 110. interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 111. int_gen_2_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 112. int_gen_2_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 113. int_gen_2_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 114. int_gen_2_ths description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 table 115. int_gen_2_duration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 116. int_gen_2_duration description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 117. click_cfg register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 118. click_cfg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 119. click_src register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 120. click_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 121. click_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 122. click_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 123. time_limit register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 124. time_limit description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 125. time_latency register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 126. time_latency description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 127. time_window register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 128. time_window description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 129. time_window register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 130. time_window description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 131. act_dur register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 132. act_dur description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 133. lga 4x4x1 mm 24-lead mechanical data (see note 1 and 2). . . . . . . . . . . . . . . . . . . . . . . 71 table 134. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
docid024763 rev 2 9/74 LSM9DS0 list of figures 74 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 2. pin connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 3. spi slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 4. i 2 c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 5. gyroscope block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 6. bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 7. fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 8. stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 9. bypass-to-stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 10. stream-to-fifo mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 11. LSM9DS0 electrical connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 figure 12. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 13. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 14. multiple byte spi read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 15. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 16. multiple byte spi write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 17. spi read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 18. int1_sel and out_sel configuration block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 19. wait bit disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 20. wait bit enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 21. lga 4x4x1 mm 24-lead outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
block diagram and pin description LSM9DS0 10/74 docid024763 rev 2 1 block diagram and pin description 1.1 block diagram figure 1. block diagram y+ z+ y- z- x+ x- mux i (a) + - charge amplifier sensing block a/d sensing interface control logic converter mux + i (m) - y+ z+ y- z- x+ x- interrupt gen. clock trimming circuits reference built-in circuits set/reset temperature fifo sensor i ( ) drive+ drive- feedback+ feedback- demodulator voltage gain automatic control low - pass gain filter amplifier analog conditioning + - charge amplifier y+ z+ y- z- x+ x- mux control logic phase generator a/d control logic converter cs_g sda i2c/spi sdo_xm/sa0_xm int1_xm int2_xm int_g drdy_g cs_xm sdo_g/sa0_g scl/spc charge amplifier
docid024763 rev 2 11/74 LSM9DS0 block diagram and pin description 74 1.2 pin description figure 2. pin connections direction of detectable angular rates top view top view y x z direction of detectable accelerations pin 1 indicator x z y 1 x + z + x + y top view res direction of detectable magnetic fields res setp_xm setc_xm c1_xm sda cs_g sdo_xm/sa0_xm view bottom 1 6 7 12 18 13 19 24 res gnd res den_g drdy_g gnd int_g vdd int1_xm vdd vdd vdd_io int2_xm cs_xm scl/spc sdo_g/sa0_g
block diagram and pin description LSM9DS0 12/74 docid024763 rev 2 table 2. pin description pin# name function 1 reserved leave unconnected 2 reserved connect to gnd 3 reserved connect to gnd 4 reserved connect to gnd 5 gnd 0 v supply 6 gnd 0 v supply 7 c1_xm capacitor connection (c1) 8 setc_xm s/r capacitor connection (c2) 9 setp_xm s/r capacitor connection (c2) 10 den_g gyroscope data enable 11 int_g gyroscope programmable interrupt 12 drdy_g gyroscope data ready 13 int1_xm accelerometer and magnetic sensor interrupt 1 14 int2_xm accelerometer and magnetic sensor interrupt 2 15 vdd power supply 16 vdd power supply 17 vdd power supply 18 vdd_io power supply for i/o pins 19 cs_g gyroscope i 2 c/spi mode selection 1: spi idle mode / i 2 c communication enabled 0: spi communication mode / i 2 c disabled 20 cs_xm accelerometer and magnetic sensor spi enabled i 2 c/spi mode selection 1: spi idle mode / i 2 c communication enabled 0: spi communication mode / i 2 c disabled 21 scl spc i 2 c serial clock (scl) spi serial port clock (spc) 22 sdo_g sa0_g gyroscope serial data output (sdo) angular rate sensor i 2 c less significant bit of the device address (sa0) 23 sdo_xm sa0_xm accelerometer and magnetic sensor spi serial data output (sdo) accelerometer and magnetic sensor i 2 c less significant bit of the device address (sa0) 24 sda i 2 c serial data (sda)
docid024763 rev 2 13/74 LSM9DS0 module specifications 74 2 module specifications 2.1 sensor characteristics @ vdd = 3.0 v, t = 25 c unless otherwise noted (a) a. the product is factory calibrated at 3.0 v. the operational power supply range is from 2.4 v to 3.6 v. table 3. sensor characteristics symbol parameter test conditions min. typ. (1) max. unit la_fs linear acceleration measurement range (2) 2 g 4 6 8 16 m_fs magnetic measurement range 2 gauss 4 8 12 g_fs angular rate measurement range 245 dps 500 2000 la_so linear acceleration sensitivity linear acceleration fs = 2 g 0.061 m g /lsb linear acceleration fs = 4 g 0.122 linear acceleration fs = 6 g 0.183 linear acceleration fs = 8 g 0.244 linear acceleration fs = 16 g 0.732 m_gn magnetic sensitivity magnetic fs = 2 gauss 0.08 mgauss/ lsb magnetic fs = 4 gauss 0.16 magnetic fs = 8 gauss 0.32 magnetic fs = 12 gauss 0.48 g_so angular rate sensitivity angular rate fs = 245 dps 8.75 mdps/ digit angular rate fs = 500 dps 17.50 angular rate fs = 2000 dps 70 la_tcso linear acceleration sensitivity change vs. temperature from -40 c to +85 c 1.5 % m_tcso magnetic sensitivity change vs. temperature from -40 c to +85 c 3 %
module specifications LSM9DS0 14/74 docid024763 rev 2 g_sodr angular rate sensitivity change vs. temperature from -40 c to +85 c 2 % la_tyoff linear acceleration typical zero-g level offset accuracy (3)(4) 60 m g g_tyoff angular rate typical zero-rate level fs = 245 dps 10 dps fs = 500 dps 15 fs = 2000 dps 25 la_tcoff linear acceleration zero-g level change vs. temperature max delta from 25 c 0.5 m g /c g_tcoff zero-rate level change vs. temperature 0.05 dps/c m_ef maximum exposed field no perming effect on zero reading 10000 gauss m_df magnetic disturbing field sensitivity starts to degrade. automatic s/r pulse restores the sensitivity (5) 20 gauss la_st linear acceleration self-test positive difference (6)(7) 2 g range, x, y, z-axis ast1:0 = 01 see table 74 60 1700 m g g_st angular rate self-test output change (8)(9) fs = 245 dps 20 250 dps fs = 500 dps 70 400 fs = 2000 dps 150 1000 top operating temperature range -40 +85 c 1. typical specifications are not guaranteed 2. verified by wafer level test and measurement of initial offset and sensitivity 3. typical zero- g level offset value after msl3 preconditioning 4. offset can be eliminated by enabling the built-in high-pass filter 5. set / reset pulse is automatically applied at each conversion cycle 6. ?self-test output change? is defined as: output[mg] ( ctrl_reg2_xm (21h) ast1:0 enabled) - output[mg] ( ctrl_reg2_xm (21h) ast1:0 disabled ) 7. for polarity refer to table 77: self-test mode configuration 8. ?self-test output change? is defined as: output[mg] ( ctrl_reg4_g (23h) st1:0 enabled) - output[mg] ( ctrl_reg4_g (23h) st1:0 disabled) 9. for polarity refer to table 31: self-test mode configuration table 3. sensor characteristics (continued) symbol parameter test conditions min. typ. (1) max. unit
docid024763 rev 2 15/74 LSM9DS0 module specifications 74 2.2 temperature sensor characteristics the electrical characteristics concerning the temperature sensor are given in the table below. @ vdd = 3.0 v, t=25 c unless otherwise noted. table 4. temperature sensor electrical characteristics symbol parameter test conditions min. typ. (1) max. unit tsdr temperature sensor output change vs. temperature - 8 lsb/c todr temperature refresh rate m_odr [2:0] (2) hz top operating temperature range -40 +85 c 1. typical specifications are not guaranteed. 2. refer to table 84: magnetic data rate configuration .
module specifications LSM9DS0 16/74 docid024763 rev 2 2.3 electrical characteristics @ vdd = 3.0v, t = 25 c unless otherwise noted (b) b. LSM9DS0 is factory calibrated at 3.0 v table 5. electrical characteristics symbol parameter test conditions min. typ. (1) max. unit vdd supply voltage 2.4 3.6 v vdd_io module power supply for i/o 1.71 1.8 vdd+0.1 idd_xm current consumption of the accelerometer and magnetic sensor in normal mode (2) hr setting ctrl_reg5 _xm (m_res [1,0]) = 11b, see ctrl_reg5 _xm (24h) 350 a idd_g gyroscope current consumption in normal mode (3) 6.1 ma idd_g_lp gyroscope supply current in sleep mode (4) 2ma idd_pdn current consumption in power-down mode (5) 6 a vih digital high-level input voltage 0.8*vdd_io v vil digital low-level input voltage 0.2*vdd_io v voh high-level output voltage 0.9*vdd_io v vol low-level output voltage 0.1*vdd_io v top operating temperature range -40 +85 c 1. typical specifications are not guaranteed 2. magnetic sensor setting odr =6.25 hz, accelerometer sensor odr =50 hz, gyroscope in power-down mode 3. accelerometer and magnetic sensor in power-down mode 4. sleep mode introduces a faster turn-on time compared to power-down mode. accelerometer and magnetic sensor in power-down mode. 5. linear accelerometer, magnetic sensor and gyroscope in power-down mode
docid024763 rev 2 17/74 LSM9DS0 module specifications 74 2.4 communication interface characteristics 2.4.1 spi - serial peripheral interface subject to general operating conditions for vdd and top. figure 3. spi slave timing diagram note: measurement points are done at 0.2vdd_io and 0.8vdd_io, for both input and output ports. table 6. spi slave timing values symbol parameter value (1) unit min max t c(spc) spi clock cycle 100 ns f c(spc) spi clock frequency 10 mhz t su(cs) cs setup time 5 ns t h(cs) cs hold time 20 t su(si) sdi input setup time 5 t h(si) sdi input hold time 15 t v(so) sdo valid output time 50 t h(so) sdo output hold time 5 t dis(so) sdo output disable time 50 1. values are guaranteed at 10 mhz clock frequency for spi with both 4 and 3 wires, based on characterization results, not tested in production. spc cs sdi sdo t su(cs) t v(so) t h(so) t h(si) t su(si) t h(cs) t dis(so) t c(spc) msb in msb out lsb out lsb in () () () () () () () ()
module specifications LSM9DS0 18/74 docid024763 rev 2 2.4.2 sensor i 2 c - inter-ic control interface subject to general operating conditions for vdd and top. figure 4. i 2 c slave timing diagram note: measurement points are done at 0.2vdd_io and 0.8vdd_io, for both ports. table 7. i 2 c slave timing values symbol parameter i 2 c standard mode (1) i 2 c fast mode (1) unit min max min max f (scl) scl clock frequency 0 100 0 400 khz t w(scll) scl clock low time 4.7 1.3 s t w(sclh) scl clock high time 4.0 0.6 t su(sda) sda setup time 250 100 ns t h(sda) sda data hold time 0 3.45 0 0.9 s t h(st) start condition hold time 4 0.6 s t su(sr) repeated start condition setup time 4.7 0.6 t su(sp) stop condition setup time 4 0.6 t w(sp:sr) bus free time between stop and start condition 4.7 1.3 1. data based on standard i 2 c protocol requirement, not tested in production. sd a scl t su(sp) t w(scll) t su(sda) t su(sr) t h(st) t w(sclh) t h(sda) t w(sp:sr) start repea ted sta rt stop sta rt
docid024763 rev 2 19/74 LSM9DS0 module specifications 74 2.5 absolute maximum ratings stresses above those listed as ?absolute maximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device under these conditions is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. note: supply voltage on any pin should never exceed 4.8 v table 8. absolute maximum ratings symbol ratings maximum value unit vdd supply voltage -0.3 to 4.8 v vdd_io i/o pins supply voltage -0.3 to 4.8 v vin input voltage on any control pin (scl/spc, sda, sdo_xm/sa0_xm, sdo_g/sa0_g, cs_g, cs_xm, den_g) -0.3 to vdd_io +0.3 v a pow acceleration (any axis, powered, vdd = 2.5 v) 3,000 for 0.5 ms g 10,000 for 0.1 ms g a unp acceleration (any axis, unpowered) 3,000 for 0.5 ms g 10,000 for 0.1 ms g t op operating temperature range -40 to +85 c t stg storage temperature range -40 to +125 c esd electrostatic discharge protection 2 (hbm) kv this device is sensitive to mechanical shock, improper handling can cause permanent damage to the part. this is an electrostatic-sensitive device (esd), improper handling can cause permanent damage to the part.
terminology LSM9DS0 20/74 docid024763 rev 2 3 terminology 3.1 set / reset pulse the set / reset pulse is an automatic operation performed before each magnetic acquisition cycle to degauss the sensor and to ensure alignment of the magnetic dipoles and thus the linearity of the sensor itself. 3.2 sensitivity the methods to determine sensitivity and offset are given below in the following paragraphs. 3.2.1 linear acceleration sensor sensitivity sensitivity describes the gain of the sensor and can be determined by applying 1 g acceleration to it. as the sensor can measure dc accelerations this can be done easily by pointing the axis of interest towards the center of the earth, noting the output value, rotating the sensor by 180 degrees (pointing to the sky) and noting the output value again. by doing so, 1 g acceleration is applied to the sensor. subtracting the larger output value from the smaller one, and dividing the result by 2, leads to the actual sensitivity of the sensor. this value changes very little over temperature and time. the sensitivity tolerance describes the range of sensitivities of a large population of sensors. 3.2.2 magnetic sensor sensitivity sensitivity describes the gain of the sensor and can be determined by applying a magnetic field of 1 gauss to it. 3.2.3 angular rate sensitivity an angular rate gyroscope is a device that produces a positive-going digital output for counter-clockwise rotation around the sensitive axis considered. sensitivity describes the gain of the sensor and can be determined by applying a defined angular velocity to it. this value changes very little over temperature and time. 3.2.4 zero- g level the zero- g level offset (tyoff) describes the deviation of an actual output signal from the ideal output signal if no acceleration is present. a sensor in a steady state on a horizontal surface will measure 0 g for the x-axis and 0 g for the y-axis whereas the z-axis will measure 1 g . the output is ideally in the middle of the dynamic range of the sensor (content of out registers 00h, data expressed as two?s complement number). a deviation from the ideal value in this case is called zero- g offset. offset is to some extent a result of stress to the mems sensor and therefore the offset can slightly change after mounting the sensor onto a printed circuit board or exposing it to extensive mechanical stress. offset changes little over temperature, see ?zero- g level change vs. temperature? (la_tcoff in table 3 ). the zero- g level tolerance (tyoff) describes the standard deviation of the range of zero- g levels of a population of sensors.
docid024763 rev 2 21/74 LSM9DS0 terminology 74 3.2.5 zero- gauss level the zero- g auss level offset describes the deviation of an actual output signal from the ideal output if no magnetic field is present. thanks to the set/reset pulse and to the magnetic sensor readout chain, the offset is dynamically cancelled. the zero- g auss level does not show any dependency on temperature or power supply. 3.2.6 zero-rate level the zero-rate level describes the actual output signal if there is no angular rate present. the zero-rate level of highly accurate mems sensors is, to some extent, a result of stress to the sensor and therefore the zero-rate level can slightly change after mounting the sensor onto a printed circuit board or after exposing it to extensive mechanical stress. this value changes very little over temperature and time.
functionality LSM9DS0 22/74 docid024763 rev 2 4 functionality the LSM9DS0 is a system-in-package featuring a 3d digital accelerometer, a 3d digital magnetometer, and a 3d digital gyroscope. the device includes specific sensing elements and two ic interfaces capable of measuring both the acceleration/magnetometer and angular rate applied to the module and to provide a signal to external applications through an spi/i 2 c serial interface. the various sensing elements are manufactured using specialized micromachining processes, while the ic interfaces are developed using a cmos technology that allows the design of a dedicated circuit which is trimmed to better match the sensing element characteristics. the LSM9DS0 may also be configured to generate an inertial wake-up and free-fall interrupt signal according to a programmed acceleration event along the enabled axes. 4.1 self-test 4.1.1 accelerometer the self-test allows the linear acceleration sensor functionality to be tested without moving it. the self-test function is off when the self-test bit (st) is programmed to ?0?. when the self- test bit is programmed to ?1? an actuation force is applied to the sensor, simulating a definite input acceleration. in this case the sensor outputs exhibit a change in their dc levels which are related to the selected full scale through the device sensitivity. when the self-test is activated, the device output level is given by the algebraic sum of the signals produced by the acceleration acting on the sensor and by the electrostatic test-force. if the output signals change within the amplitude specified inside section 2.1: sensor characteristics , then the sensor is working properly and the parameters of the interface chip are within the defined specifications. 4.1.2 gyroscope the self-test allows to test the mechanical and electric part of the sensor, allowing the seismic mass to be moved by means of an electrostatic test-force. when the st is activated by the ic, an actuation force is applied to the sensor, emulating a definite coriolis force. in this case the sensor output will exhibit an output change. when the st is active, the device output is given by the algebraic sum of the signals produced by the velocity acting on the sensor and by the electrostatic test-force. for polarity please refer to table 31: self-test mode configuration . 4.2 linear acceleration main digital blocks 4.2.1 fifo the LSM9DS0 embeds 32 slots of data fifo for each of the three output channels: x, y and z. this allows consistent power saving for the system, since the host processor does not need to continuously poll data from the sensor, but it can wake up only when needed
docid024763 rev 2 23/74 LSM9DS0 functionality 74 and burst the significant data out from the fifo. this buffer can work accordingly in four different modes: bypass mode, fifo mode, stream mode and stream-to-fifo mode. each mode is selected by the fifo_mode bits in fifo_src_reg (2fh) . programmable watermark level, fifo_empty or fifo_full events can be enabled to generate dedicated interrupts on the int1_xm/int2_xm pin (configured through fifo_src_reg (2fh) ). 4.2.2 bypass mode in bypass mode, the fifo is not operational and for this reason it remains empty. for each channel only the first address is used. the remaining fifo slots are empty. 4.2.3 fifo mode in fifo mode, data from the x, y and z channels are stored in the fifo. a watermark interrupt can be enabled (fifo_wtmk_en bit in fifo_ctrl_reg (2eh) ) in order to be raised when the fifo is filled to the level specified in the fifo_wtmk_level bits of fifo_ctrl_reg (2eh) . the fifo continues filling until it is full (32 slots of data for x, y and z). when full, the fifo stops collecting data from the input channels. 4.2.4 stream mode in stream mode, data from the x, y and z measurements are stored in the fifo. a watermark interrupt can be enabled and set as in fifo mode. the fifo continues filling until it is full (32 slots of data for x, y and z). when full, the fifo discards the older data as the new data arrives. 4.2.5 stream-to-fifo mode in stream-to-fifo mode, data from the x, y and z measurements is stored in the fifo. a watermark interrupt can be enabled (fifo_wtmk_en bit in fifo_ctrl_reg (2eh) ) in order to be raised when the fifo is filled to the level specified in the fifo_wtmk_level bits of fifo_ctrl_reg (2eh) . the fifo continues filling until it is full (32 slots of 8-bit data for x, y and z). when full, the fifo discards the older data as the data new arrives. once a trigger event occurs, the fifo starts operating in fifo mode. 4.2.6 retrieving data from fifo a read operation to the out_x_l_a (28h), out_x_h_a (29h) , out_y_l_a (2ah), out_y_h_a (2bh) or out_z_l_a (2ch), out_z_h_a (2dh) registers provides the data stored in the fifo. each time data is read from the fifo, the oldest x, y and z data are placed in the out_x_l_a (28h), out_x_h_a (29h) , out_y_l_a (2ah), out_y_h_a (2bh) and out_z_l_a (2ch), out_z_h_a (2dh) registers and both single read and read_burst operations can be used.
functionality LSM9DS0 24/74 docid024763 rev 2 4.3 gyroscope digital main blocks figure 5. gyroscope block diagram 4.3.1 fifo the LSM9DS0 embeds 32 slots of 16-bit data fifo for each of the three output channels: yaw, pitch and roll. this allows consistent power saving for the system, since the host processor does not need to continuously poll data from the sensor, but can wake up only when needed and burst the significant data out from the fifo. this buffer can work accordingly in five different modes: bypass mode, fifo mode, stream mode, bypass-to- stream mode and stream-to-fifo mode. each mode is selected by the fifo_mode bits in fifo_ctrl_reg_g (2eh) . a programmable watermark level, fifo_empty or fifo_full events can be enabled to generate dedicated interrupts on the drdy_g pin (configured through ctrl_reg3_g (22h) and event detection information is available in fifo_src_reg_g (2fh) . the watermark level can be configured to wtm4:0 in fifo_ctrl_reg_g (2eh) . 4.3.2 bypass mode in bypass mode, the fifo is not operational and for this reason it remains empty. as described in figure 6 , for each channel only the first address is used. the remaining fifo slots are empty. when new data is available, the old data is overwritten. adc lpf1 hpf 0 1 hpen lpf2 11 10 01 00 out_sel datareg fifo 32x16x3 00 11 10 01 interrupt generator int1_sel i 2 c int scr reg conf reg gams250320131444fsr spi
docid024763 rev 2 25/74 LSM9DS0 functionality 74 figure 6. bypass mode 4.3.3 fifo mode in fifo mode, data from the yaw, pitch and roll channels is stored in the fifo. a watermark interrupt can be enabled (i2_wmk bit in ctrl_reg3_g (22h) ) in order to be raised when the fifo is filled to the level specified in the wtm 4:0 bits of fifo_ctrl_reg_g (2eh) . the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo stops collecting data from the input channels. to restart data collection, fifo_ctrl_reg_g (2eh) must be written back to bypass mode. fifo mode is represented in figure 7 . figure 7. fifo mode x 0 y z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i empty am07231v1 x 0 y z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i am07232v1
functionality LSM9DS0 26/74 docid024763 rev 2 4.3.4 stream mode in stream mode, data from the yaw, pitch and roll measurements is stored in the fifo. a watermark interrupt can be enabled and set as in fifo mode. the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo discards the older data as the new data arrives. programmable watermark level events can be enabled to generate dedicated interrupts on the drdy_g pin (configured through ctrl_reg3_g (22h) . stream mode is represented in figure 8 . figure 8. stream mode x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i x 30 y 30 z 30 am07234v1
docid024763 rev 2 27/74 LSM9DS0 functionality 74 4.3.5 bypass-to-stream mode in bypass-to-stream mode, the fifo starts operating in bypass mode and once a trigger event occurs (related to int1_cfg_g (30h) events) the fifo starts operating in stream mode. refer to figure 9 below. figure 9. bypass-to-stream mode 4.3.6 stream-to-fifo mode in stream-to-fifo mode, data from the yaw, pitch and roll measurement is stored in the fifo. a watermark interrupt can be enabled on pin drdy_g by setting the i2_wtm bit in ctrl_reg3_g (22h) to be raised when the fifo is filled to the level specified in the wtm4:0 bits of fifo_ctrl_reg_g (2eh) . the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo discards the older data as the new data arrives. once a trigger event occurs (related to int1_cfg_g (30h) events), the fifo starts operating in fifo mode. refer to figure 10 . figure 10. stream-to-fifo mode x 0 y z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i empty bypass mode stream mode trigger event x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i x 30 y 30 z 30 am07235v1 x 0 y z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i stream mode fifo mode trigger event x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 31 y 31 z 31 x i ,y i ,z i x 30 y 30 z 30 am07236v1
functionality LSM9DS0 28/74 docid024763 rev 2 4.3.7 retrieving data from fifo a read operation from the out_x_l_g (28h), out_x_h_g (29h) , out_y_l_g (2ah), out_y_h_g (2bh) or out_z_l_g (2ch), out_z_h_g (2dh) registers provides the data stored in the fifo. each time data is read from the fifo, the oldest pitch, roll and yaw data are placed in the out_x_l_g (28h), out_x_h_g (29h) , out_y_l_g (2ah), out_y_h_g (2bh) and out_z_l_g (2ch), out_z_h_g (2dh) registers and both single read and read_burst (x,y & z with auto-incremental address) operations can be used. when data included in out_z_h_g is read, the system again starts to read information from addr out_x_l_g . 4.4 temperature sensor the LSM9DS0 features an embedded temperature sensor. temperature data can be enabled by setting the temp_en bit in the ctrl_reg5_xm (24h) register to 1. both out_temp_h_xm and out_temp_l_xm registers must be read. temperature data is stored inside out_temp_l_xm (05h), out_temp_h_xm (06h) as two?s complement data in 12-bit format, right justified. the output data rate of the temperature sensor is set by m_odr in ctrl_reg5_xm (24h) and is equal to the magnetic sensor output data rate. 4.5 factory calibration the ic interface is factory calibrated. the trimming values are stored inside the non-volatile memory of the device. any time the device is turned on, the trimming parameters are downloaded into the registers to be used during normal operation. this allows the using the device without further calibration.
docid024763 rev 2 29/74 LSM9DS0 application hints 74 5 application hints figure 11. LSM9DS0 electrical connections 5.1 external capacitors the c1 and c2 external capacitors should be low sr value, ceramic type construction (typ recommended value 200 mohm). reservoir capacitor c1 is nominally 4.7 f in capacitance, with the set/reset capacitor c2 nominally 0.22 f in capacitance. the device core is supplied through the vdd line. power supply decoupling capacitors (c4 = 100 nf ceramic, c3 = 10 f al) should be placed as near as possible to the supply pin of the device (common design practice). all the voltage and ground supplies must be present at the same time to have proper behavior of the ic (refer to figure 11 ). the functions of the device and the measured acceleration/magnetic field data are selectable and accessible through the i 2 c / spi interfaces. the functions, the threshold and the timing of the three interrupt pins (int_g, int1_xm and int2_xm) can be completely programmed by the user through the i 2 c / spi interfaces. pin 1 indicator res sda cs_g sdo_xm/sa0_xm top view 18 13 12 7 1 6 24 19 den_g drdy_g int_g int1_xm vdd int2_xm vdd_io cs_xm scl/spc sdo_g/sa0_g c 1 = 4.7f c 2 =0.22f gnd c 3 = 10f gnd gnd c 4 = 100nf
application hints LSM9DS0 30/74 docid024763 rev 2 5.2 soldering information the lga package is compliant with the ecopack ? , rohs and ?green? standard. it is qualified for soldering heat resistance according to jedec j-std-020. leave ?pin 1 indicator? unconnected during soldering. land pattern and soldering recommendation are available at www .st.com/mems . 5.3 high current wiring effects high current in wiring and printed circuit traces can be culprits in causing errors in magnetic field measurements for compassing. conductor-generated magnetic fields will add to the earth?s magnetic field leading to errors in compass-heading computation. keep currents higher than 10 ma a few millimeters further away from the sensor ic.
docid024763 rev 2 31/74 LSM9DS0 digital interfaces 74 6 digital interfaces the registers embedded in the LSM9DS0 may be accessed through both the i 2 c and spi serial interfaces. the latter may be sw-configured to operate either in 3-wire or 4-wire interface mode. the serial interfaces are mapped to the same pins. to select/exploit the i 2 c interface, the cs line must be tied high (i.e connected to vdd_io). 6.1 i 2 c serial interface the LSM9DS0 i 2 c is a bus slave. the i 2 c is employed to write data into registers whose content can also be read back. the relevant i 2 c terminology is given in the table below. there are two signals associated with the i 2 c bus: the serial clock line (scl) and the serial data line (sda). the latter is a bidirectional line used for sending and receiving the data to/from the interface. both lines must be connected to vdd_io through external pull-up resistors. when the bus is free, both lines are high. the i 2 c interface is compliant with fast mode (400 khz) i 2 c standards as well as with normal mode. table 9. serial interface pin description pin name pin description cs i 2 c/spi mode selection 1: spi idle mode / i 2 c communication enabled 0: spi communication mode / i 2 c disabled scl/spc i 2 c serial clock (scl) spi serial port clock (spc) sda/sdi/sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) sdo spi serial data output (sdo) i 2 c less significant bit of the device address table 10. i 2 c terminology term description transmitter the device which sends data to the bus receiver the device which receives data from the bus master the device which initiates a transfer, generates clock signals and terminates a transfer slave the device addressed by the master
digital interfaces LSM9DS0 32/74 docid024763 rev 2 6.1.1 i 2 c operation the transaction on the bus is started through a start (st) signal. a start condition is defined as a high to low transition on the data line while the scl line is held high. after this has been transmitted by the master, the bus is considered busy. the next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave. when an address is sent, each device in the system compares the first seven bits after a start condition with its own address. if they match, the device considers itself addressed by the master. data transfer with acknowledge is mandatory. the transmitter must release the sda line during the acknowledge pulse. the receiver must then pull the data line low so that it remains stable low during the high period of the acknowledge clock pulse. a receiver which has been addressed is obliged to generate an acknowledge after each byte of data received. the i 2 c embedded inside the LSM9DS0 behaves like a slave device and the following protocol must be adhered to. after the start condition (st) a slave address is sent, once a slave acknowledge (sak) has been returned, an 8-bit sub-address (sub) will be transmitted: the 7 lsb represents the actual register address while the msb enables the address auto increment. if the msb of the sub field is ?1?, the sub (register address) will be automatically increased to allow multiple data read/writes. data are transmitted in byte format (data). each data transfer contains 8 bits. the number of bytes transferred per transfer is unlimited. data is transferred with the most significant bit (msb) first. if a receiver can?t receive another complete byte of data until it has performed table 11. transfer when master is writing one byte to slave master st sad + w sub data sp slave sak sak sak table 12. transfer when master is writing multiple bytes to slave master st sad + w sub data data sp slave sak sak sak sak table 13. transfer when master is receiving (reading) one byte of data from slave master st sad + w sub sr sad + r nmak sp slave sak sak sak data table 14. transfer when master is receiving (reading) multiple bytes of data from slave master st sad+w sub sr sad+r mak mak nmak sp slave sak sak sak data dat a dat a
docid024763 rev 2 33/74 LSM9DS0 digital interfaces 74 some other function, it can hold the clock line, scl low to force the transmitter into a wait state. data transfer only continues when the receiver is ready for another byte and releases the data line. if a slave receiver doesn?t acknowledge the slave address (i.e. it is not able to receive because it is performing some real-time function) the data line must be left high by the slave. the master can then abort the transfer. a low to high transition on the sda line while the scl line is high is defined as a stop condition. each data transfer must be terminated by the generation of a stop (sp) condition. in order to read multiple bytes, it is necessary to assert the most significant bit of the sub- address field. in other words, sub(7) must be equal to 1 while sub(6-0) represents the address of first register to be read. in the presented communication format mak is master acknowledge and nmak is no master acknowledge. default address: the sdo / sa0 pins (sdo_xm/sa0_xm or sdo_g/sa0_g) can be used to modify the least significant bit of the device address. if the sa0 pin is connected to the voltage supply, lsb is ?1? (ex. address 0011101b) else if sa0 pad is connected to ground, the lsb value is ?0? (ex. address 0011110b). the slave address is completed with a read/write bit. if the bit was ?1? (read), a repeated start (sr) condition will have to be issued after the two sub-address bytes; if the bit is ?0? (write) the master will transmit to the slave with the direction unchanged. table 15 and table 16 explain how the sad+read/write bit pattern is composed, listing all the possible configurations. linear acceleration and magnetic sensor address: angular rate sensor address: table 15. linear acceleration and magnetic sensor sad+read/write patterns command sdo_xm/sa0_xm pin sad[6:2] sad[1:0] r/w sad+r/w read 0 00111 10 1 00111101 (3d) write 0 00111 10 0 00111100 (3c) read 1 00111 01 1 00111011 (3b) write 1 00111 01 0 00111010 (3a) table 16. angular rate sad+read/write patterns command sad[6:1] sad[0] = sdo_g/sa0_g pin r/w sad+r/w read 110101 0 1 11010101 (d5h) write 110101 0 0 11010100 (d4h) read 110101 1 1 11010111 (d7h) write 110101 1 0 11010110 (d6h)
digital interfaces LSM9DS0 34/74 docid024763 rev 2 6.2 spi bus interface the spi is a bus slave. the spi allows writing and reading the registers of the device. the serial interface interacts with the outside world through 4 wires: cs , spc , sdi and sdo . figure 12. read and write protocol cs is the serial port enable and is controlled by the spi master. it goes low at the start of the transmission and goes back high at the end. spc is the serial port clock and it is controlled by the spi master. it is stopped high when cs is high (no transmission). sdi and sdo are respectively the serial port data input and output. those lines are driven at the falling edge of spc and should be captured at the rising edge of spc . both the read register and write register commands are completed in 16 clock pulses or in multiples of 8 in case of multiple bytes read/write. bit duration is the time between two falling edges of spc . the first bit (bit 0) starts at the first falling edge of spc after the falling edge of cs while the last bit (bit 15, bit 23, ...) starts at the last falling edge of spc just before the rising edge of cs . bit 0 : r w bit. when 0, the data di(7:0) is written to the device. when 1, the data do(7:0) from the device is read. in the latter case, the chip will drive sdo at the start of bit 8. bit 1 : m s bit. when 0, the address remains unchanged in multiple read/write commands. when 1, the address will be auto-incremented in multiple read/write commands. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that will be written to the device (msb first). bit 8-15 : data do(7:0) (read mode). this is the data that will be read from the device (msb first). in multiple read/write commands, further blocks of 8 clock periods will be added. when the m s bit is 0, the address used to read/write data remains the same for every block. when the m s bit is 1, the address used to read/write data is incremented at every block. the function and the behavior of sdi and sdo remain unchanged. cs spc sdi sdo rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 do7do6do5do4do3do2do1do0 ms am10129v1
docid024763 rev 2 35/74 LSM9DS0 digital interfaces 74 6.2.1 spi read figure 13. spi read protocol the spi read command is performed with 16 clock pulses. the multiple byte read command is performed by adding blocks of 8 clock pulses to the previous one. bit 0 : read bit. the value is 1. bit 1 : m s bit. when 0, does not increment address; when 1, increments address in multiple reads. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that will be read from the device (msb first). bit 16-... : data do(...-8). further data in multiple byte reads. figure 14. multiple byte spi read protocol (2-byte example) cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms am10130v1 cs sp c sdi sd o rw do7do6do5do4do3do2 do1do0 ad5 ad4 ad 3 ad2 ad1 ad0 do 15 do 14 do 13 do 12 do 11 do 10 d o9 d o8 ms am10131v1
digital interfaces LSM9DS0 36/74 docid024763 rev 2 6.2.2 spi write figure 15. spi write protocol the spi write command is performed with 16 clock pulses. the multiple byte write command is performed by adding blocks of 8 clock pulses to the previous one. bit 0 : write bit. the value is 0. bit 1 : m s bit. when 0, does not increment address; when 1, increments address in multiple writes. bit 2 -7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that will be written to the device (msb first). bit 16-... : data di(...-8). further data in multiple byte writes. figure 16. multiple byte spi write protocol (2-byte example) 6.2.3 spi read in 3-wire mode 3-wire mode is entered by setting the bit sim (spi serial interface mode selection) to ?1? in ctrl_reg2_xm (21h) for the accelerometer and magnetic sensor and in ctrl_reg4_g (23h) for the gyroscope. cs spc sdi rw di7di6di5di4di3di2di1di0 ad5 ad 4 ad 3 ad2 ad 1 ad0 ms am10132v1 cs spc sdi rw ad5 ad4 ad3 ad2 ad1 ad 0 di 7 d i6 di 5 d i4 di 3 di 2 di 1 di 0 di 15 d i1 4 di 13 d i1 2 di 11 di 10 di 9 di 8 ms am10133v1
docid024763 rev 2 37/74 LSM9DS0 digital interfaces 74 figure 17. spi read protocol in 3-wire mode the spi read command is performed with 16 clock pulses: bit 0 : read bit. the value is 1. bit 1 : m s bit. when 0, does not increment address; when 1, increments address in multiple reads. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that will be read from the device (msb first). the multiple read command is also available in 3-wire mode. cs spc sdi/o rw do7do6do5do4do3do2do1do0 ad5 ad 4 ad 3 ad2 ad1 ad 0 ms am10134v1
register mapping LSM9DS0 38/74 docid024763 rev 2 7 register mapping the table given below provides a listing of the 8-bit registers embedded in the device and their respective addresses. table 17. register address map name slave address type register address default hex binary reserved table 16 -- 00-0e -- -- who_am_i_g table 16 r 0f 000 1111 11010100 reserved table 16 -- 10-1f -- -- ctrl_reg1_g table 16 rw 20 010 0000 00000111 ctrl_reg2_g table 16 rw 21 010 0001 00000000 ctrl_reg3_g table 16 rw 22 010 0010 00000000 ctrl_reg4_g table 16 rw 23 010 0011 00000000 ctrl_reg5_g table 16 rw 24 010 0100 00000000 reference_g table 16 rw 25 010 0101 00000000 reserved table 16 -- 26 -- -- status_reg_g table 16 r 27 010 0111 output out_x_l_g table 16 r 28 010 1000 output out_x_h_g table 16 r 29 010 1001 output out_y_l_g table 16 r 2a 010 1010 output out_y_h_g table 16 r 2b 010 1011 output out_z_l_g table 16 r 2c 010 1100 output out_z_h_g table 16 r 2d 010 1101 output fifo_ctrl_reg_g table 16 rw 2e 010 1110 00000000 fifo_src_reg_g table 16 r 2f 010 1111 output int1_cfg_g table 16 rw 30 011 0000 00000000 int1_src_g table 16 r 31 011 0001 output int1_tsh_xh_g table 16 rw 32 011 0010 00000000 int1_tsh_xl_g table 16 rw 33 011 0011 00000000 int1_tsh_yh_g table 16 rw 34 011 0100 00000000 int1_tsh_yl_g table 16 rw 35 011 0101 00000000 int1_tsh_zh_g table 16 rw 36 011 0110 00000000 int1_tsh_zl_g table 16 rw 37 011 0111 00000000 int1_duration_g table 16 rw 38 011 1000 00000000 reserved table 15 -- 00-04 -- --
docid024763 rev 2 39/74 LSM9DS0 register mapping 74 out_temp_l_xm table 15 r 05 000 0101 output out_temp_h_xm table 15 r 06 000 0110 output status_reg_m table 15 r 07 000 0111 output out_x_l_m table 15 r 08 000 1000 output out_x_h_m table 15 r 09 000 1001 output out_y_l_m table 15 r 0a 000 1010 output out_y_h_m table 15 r 0b 000 1011 output out_z_l_m table 15 r 0c 000 1100 output out_z_h_m table 15 r 0d 000 1101 output reserved table 15 -- 0e 000 1110 -- who_am_i_xm table 15 r 0f 000 1111 01001001 reserved table 15 -- 10-11 -- -- int_ctrl_reg_m table 15 rw 12 001 0010 11101000 int_src_reg_m table 15 r 13 001 0011 output int_ths_l_m table 15 rw 14 001 0100 00000000 int_ths_h_m table 15 rw 15 001 0101 00000000 offset_x_l_m table 15 rw 16 001 0110 00000000 offset_x_h_m table 15 rw 17 001 0111 00000000 offset_y_l_m table 15 rw 18 001 01000 00000000 offset_y_h_m table 15 rw 19 001 01001 00000000 offset_z_l_m table 15 rw 1a 001 01010 00000000 offset_z_h_m table 15 rw 1b 001 01011 00000000 reference_x table 15 rw 1c 001 01100 00000000 reference_y table 15 rw 1d 001 01101 00000000 reference_z table 15 rw 1e 001 01110 00000000 ctrl_reg0_xm table 15 rw 1f 001 1111 00000000 ctrl_reg1_xm table 15 rw 20 010 0000 00000111 ctrl_reg2_xm table 15 rw 21 010 0001 00000000 ctrl_reg3_xm table 15 rw 22 010 0010 00000000 ctrl_reg4_xm table 15 rw 23 010 0011 00000000 ctrl_reg5_xm table 15 rw 24 010 0100 00011000 ctrl_reg6_xm table 15 rw 25 010 0101 00100000 ctrl_reg7_xm table 15 rw 26 010 0110 00000001 table 17. register address map (continued) name slave address type register address default hex binary
register mapping LSM9DS0 40/74 docid024763 rev 2 registers marked as reserved must not be changed. writing to those registers may cause permanent damage to the device. the content of the registers that are loaded at boot should not be changed. they contain the factory-calibrated values. their content is automatically restored when the device is powered up. status_reg_a table 15 r 27 010 0111 output out_x_l_a table 15 r 28 010 1000 output out_x_h_a table 15 r 29 010 1001 output out_y_l_a table 15 r 2a 010 1010 output out_y_h_a table 15 r 2b 010 1011 output out_z_l_a table 15 r 2c 010 1100 output out_z_h_a table 15 r 2d 010 1101 output fifo_ctrl_reg table 15 rw 2e 010 1110 00000000 fifo_src_reg table 15 r 2f 010 1111 output int_gen_1_reg table 15 rw 30 011 0000 00000000 int_gen_1_src table 15 r 31 011 0001 output int_gen_1_ths table 15 rw 32 011 0010 00000000 int_gen_1_duration table 15 rw 33 011 0011 00000000 int_gen_2_reg table 15 rw 34 011 0100 00000000 int_gen_2_src table 15 r 35 011 0101 output int_gen_2_ths table 15 rw 36 011 0110 00000000 int_gen_2_duration table 15 rw 37 011 0111 00000000 click_cfg table 15 rw 38 011 1000 00000000 click_src table 15 r 39 011 1001 output click_ths table 15 rw 3a 011 1010 00000000 time_limit table 15 rw 3b 011 1011 00000000 time _latency table 15 rw 3c 011 1100 00000000 time_window table 15 rw 3d 011 1101 00000000 act_ths table 15 rw 3e 011 1110 00000000 act_dur table 15 rw 3f 011 1111 00000000 table 17. register address map (continued) name slave address type register address default hex binary
docid024763 rev 2 41/74 LSM9DS0 register description 74 8 register description the device contains a set of registers which are used to control its behavior and to retrieve angular rate data. the register address, consisting of 7 bits, is used to identify them and to write the data through the serial interface. 8.1 who_am_i_g (0fh) device identification register. 8.2 ctrl_reg1_g (20h) dr[1:0] is used for odr selection. bw [1:0] is used for bandwidth selection. in table 21 all frequencies resulting in combinations of dr / bw bits are given. table 18. who_am_i_g register 11010100 table 19. ctrl_reg1_g register dr1 dr0 bw1 bw0 pd zen xen yen table 20. ctrl_reg1_g description dr1-dr0 output data rate selection. refer to table 21 bw1-bw0 bandwidth selection. refer to table 21 pd power-down mode enable. default value: 0 (0: power-down mode, 1: normal mode or sleep mode) zen z-axis enable. default value: 1 (0: z-axis disabled; 1: z-axis enabled) ye n y-axis enable. default value: 1 (0: y-axis disabled; 1: y-axis enabled) xen x-axis enable. default value: 1 (0: x-axis disabled; 1: x-axis enabled) table 21. dr and bw configuration setting dr [1:0] bw [1:0] odr (hz) cutoff 00 00 95 12.5 00 01 95 25 00 10 95 25
register description LSM9DS0 42/74 docid024763 rev 2 a combination of pd, zen, yen, xen is used to set device to different modes (power-down / normal / sleep mode) in accordance with table 22 below. 8.3 ctrl_reg2_g (21h) 00 11 95 25 01 00 190 12.5 01 01 190 25 01 10 190 50 01 11 190 70 10 00 380 20 10 01 380 25 10 10 380 50 10 11 380 100 11 00 760 30 11 01 760 35 11 10 760 50 11 11 760 100 table 22. power mode selection configuration mode pd zen yen xen power-down 0 - - - sleep 1 0 0 0 normal 1 - - - table 21. dr and bw configuration setting (continued) dr [1:0] bw [1:0] odr (hz) cutoff table 23. ctrl_reg2_g register 0 (1) 1. these bits must be set to ?0? to ensure proper operation of the device 0 (1) hpm1 hpm1 hpcf3 hpcf2 hpcf1 hpcf0 table 24. ctrl_reg2_g description hpm1- hpm0 high-pass filter mode selection. default value: 00 refer to table 25 hpcf3- hpcf0 high-pass filter cutoff frequency selection refer to table 26
docid024763 rev 2 43/74 LSM9DS0 register description 74 8.4 ctrl_reg3_g (22h) table 25. high-pass filter mode configuration hpm1 hpm0 high-pass filter mode 0 0 normal mode (reset reading hp_reset_filter) 0 1 reference signal for filtering 1 0 normal mode 1 1 autoreset on interrupt event table 26. high-pass filter cutoff frequency configuration (hz) hpcf[3:0] odr = 95 hz odr = 190 hz odr = 380 hz odr = 760 hz 0000 7.2 13.5 27 51.4 0001 3.5 7.2 13.5 27 0010 1.8 3.5 7.2 13.5 0011 0.9 1.8 3.5 7.2 0100 0.45 0.9 1.8 3.5 0101 0.18 0.45 0.9 1.8 0110 0.09 0.18 0.45 0.9 0111 0.045 0.09 0.18 0.45 1000 0.018 0.045 0.09 0.18 1001 0.009 0.018 0.045 0.09 table 27. ctrl_reg3_g register i1_int1 i1_boot h_lactive pp_od i2_drdy i2_wtm i2_orun i2_empty table 28. ctrl_reg3_g description i1_int1 interrupt enable on int_g pin. default value 0. (0: disable; 1: enable) i1_boot boot status available on int_g. default value 0. (0: disable; 1: enable) h_lactive interrupt active configuration on int_g. default value 0. (0: high; 1:low) pp_od push-pull / open drain. default value: 0. (0: push- pull; 1: open drain) i2_drdy date-ready on drdy_g. default value 0. (0: disable; 1: enable) i2_wtm fifo watermark interrupt on drdy_g. default value: 0. (0: disable; 1: enable) i2_orun fifo overrun interrupt on drdy_g. default value: 0. (0: disable; 1: enable) i2_empty fifo empty interrupt on drdy_g. default value: 0. (0: disable; 1: enable)
register description LSM9DS0 44/74 docid024763 rev 2 8.5 ctrl_reg4_g (23h) 8.6 ctrl_reg5_g (24h) table 29. ctrl_reg4_g register bdu ble fs1 fs0 - st1 st0 sim table 30. ctrl_reg4_g description bdu block data update. default value: 0 (0: continuous update; 1: output registers not updated until msb and lsb read) ble big/little endian data selection. default value 0. (0: data lsb @ lower address; 1: data msb @ lower address) fs1-fs0 full-scale selection. default value: 00 (00: 245 dps; 01: 500 dps; 10: 2000 dps; 11: 2000 dps) st1-st0 self-test enable. default value: 00 (00: self-test disabled; other: see table 31 ) sim spi serial interface mode selection. default value: 0 (0: 4-wire interface; 1: 3-wire interface). table 31. self-test mode configuration st1 st0 self-test mode 0 0 normal mode 0 1 self-test 0 (1) (x positive sign, y and z negative sign) 1. dst sign (absolute value in table 3 ) 10-- 1 1 self-test 1 (1) (x negative sign, y and z positive sign) table 32. ctrl_reg5_g register boot fifo_en -- hpen int1_sel1 int1_sel0 out_sel1 out_sel0 table 33. ctrl_reg5_g description boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) fifo_en fifo enable. default value: 0 (0: fifo disable; 1: fifo enable) hpen high-pass filter enable. default value: 0 (0: hpf disabled; 1: hpf enabled) (see figure 18 ) int1_sel1-int1_sel0 int1 selection configuration. default value: 00 (see figure 18 ) out_sel1-out_sel0 out selection configuration. default value: 00 (see figure 18 )
docid024763 rev 2 45/74 LSM9DS0 register description 74 figure 18. int1_sel and out_sel configuration block diagram 8.7 reference/datacapture_g (25h) 8.8 status_reg_g (27h) adc lpf1 hpf 0 1 hpen lpf2 10 11 01 00 out_sel [1:0] datareg fifo 32x16x3 00 11 10 01 interrupt generator int1_sel [1:0] am07949v2 table 34. reference/datacapture_g register ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 table 35. reference/datacapture_g description ref 7-ref0 reference value for interrupt generation. default value: 0 table 36. status_reg_g register zyxor zor yor xor zyxda zda yda xda table 37. status_reg_g description zyxor x, y, z -axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data has overwritten the previous data before it was read) zor z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the z-axis has overwritten the previous data) yor y-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the y-axis has overwritten the previous data) xor x-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the x-axis has overwritten the previous data)
register description LSM9DS0 46/74 docid024763 rev 2 8.9 out_x_l_g (28h), out_x_h_g (29h) x-axis angular rate data. the value is expressed as two?s complement. 8.10 out_y_l_g (2ah), out_y_h_g (2bh) y-axis angular rate data. the value is expressed as two?s complement. 8.11 out_z_l_g (2ch), out_z_h_g (2dh) z-axis angular rate data. the value is expressed as two?s complement. 8.12 fifo_ctrl_reg_g (2eh) zyxda x, y, z -axis new data available. default value: 0 (0: a new set of data is not yet available; 1: a new set of data is available) zda z-axis new data available. default value: 0 (0: new data for the z-axis is not yet available; 1: new data for the z-axis is available) yda y-axis new data available. default value: 0 (0: new data for the y-axis is not yet available;1: new data for the y-axis is available) xda x-axis new data available. default value: 0 (0: new data for the x-axis is not yet available; 1: new data for the x-axis is available) table 37. status_reg_g description (continued) table 38. fifo_ctrl_reg_g register fm2 fm1 fm0 wtm4 wtm3 wtm2 wtm1 wtm0 table 39. fifo_ctrl_reg_g description fm2-fm0 fifo mode selection. default value: 00 (see table 40 ) wtm4-wtm0 fifo threshold. watermark level setting table 40. fifo mode configuration fm2 fm1 fm0 fifo mode 0 0 0 bypass mode 0 0 1 fifo mode 0 1 0 stream mode 0 1 1 stream-to-fifo mode 1 0 0 bypass-to-stream mode
docid024763 rev 2 47/74 LSM9DS0 register description 74 8.13 fifo_src_reg_g (2fh) 8.14 int1_cfg_g (30h) table 41. fifo_src_reg_g register wtm ovrn empty fss4 fss3 fss2 fss1 fss0 table 42. fifo_src_reg_g description wtm watermark status. (0: fifo filling is lower than wtm level; 1: fifo filling is equal to or higher than wtm level) ovrn overrun bit status. (0: fifo is not completely filled; 1: fifo is completely filled) empty fifo empty bit. (0: fifo not empty; 1: fifo empty) fss4-fss1 fifo stored data level table 43. int1_cfg_g register and/or lir zhie zlie yhie ylie xhie xlie table 44. int1_cfg_g description and/or and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events 1: and combination of interrupt events lir latch interrupt request. default value: 0 (0: interrupt request not latched; 1: interrupt request latched) cleared by reading int1_src reg. zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value lower than preset threshold)
register description LSM9DS0 48/74 docid024763 rev 2 8.15 int1_src_g (31h) interrupt source register. read-only register. reading at this address clears the int1_src ia bit (and eventually the interrupt signal on the int_g pin) and allows the refresh of data in the int1_src register if the latched option was chosen. 8.16 int1_ths_xh_g (32h) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured value lower than preset threshold) table 44. int1_cfg_g description (continued) table 45. int1_src_g register 0 ia zhzlyhylxhxl table 46. int1_src_g description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no interrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred) table 47. int1_ths_xh_g register - thsx14 thsx13 thsx12 thsx11 thsx10 thsx9 thsx8 table 48. int1_ths_xh_g description thsx14 - thsx8 interrupt threshold. default value: 000 0000
docid024763 rev 2 49/74 LSM9DS0 register description 74 8.17 int1_ths_xl_g (33h) 8.18 int1_ths_yh_g (34h) 8.19 int1_ths_yl_g (35h) 8.20 int1_ths_zh_g (36h) table 49. int1_ths_xl_g register thsx7 thsx6 thsx5 thsx4 thsx3 thsx2 thsx1 thsx0 table 50. int1_ths_xl_g description thsx7 - thsx0 interrupt threshold. default value: 0000 0000 table 51. int1_ths_yh_g register - thsy14 thsy13 thsy12 thsy11 thsy10 thsy9 thsy8 table 52. int1_ths_yh_g description thsy14 - thsy8 interrupt threshold. default value: 000 0000 table 53. int1_ths_yl_g register thsr7 thsy6 thsy5 thsy4 thsy3 thsy2 thsy1 thsy0 table 54. int1_ths_yl_g description thsy7 - thsy0 interrupt threshold. default value: 0000 0000 table 55. int1_ths_zh_g register - thsz14 thsz13 thsz12 thsz11 thsz10 thsz9 thsz8 table 56. int1_ths_zh_g description thsz14 - thsz8 interrupt threshold. default value: 000 0000
register description LSM9DS0 50/74 docid024763 rev 2 8.21 int1_ths_zl_g (37h) 8.22 int1_duration_g (38h) the d6 - d0 bits set the minimum duration of the interrupt event to be recognized. duration steps and maximum values depend on the odr chosen. the wait bit has the following definitions: wait = ?0?: the interrupt falls immediately if the signal crosses the selected threshold wait = ?1?: if the signal crosses the selected threshold, the interrupt falls only after the duration has counted the number of samples at the selected data rate, written into the duration counter register. table 57. int1_ths_zl_g register thsz7 thsz6 thsz5 thsz4 thsz3 thsz2 thsz1 thsz0 table 58. int1_ths_zl_g description thsz7 - thsz0 interrupt threshold. default value: 0000 0000 table 59. int1_duration_g register wait d6 d5 d4 d3 d2 d1 d0 table 60. int1_duration_g description wait wait enable. default value: 0 (0: disable; 1: enable) d6 - d0 duration value. default value: 000 0000
docid024763 rev 2 51/74 LSM9DS0 register description 74 figure 19. wait bit disabled figure 20. wait bit enabled ? wait bit = ?0?   interrupt disabled as soon as condition is no longer valid (ex: ra te value below threshold) rate (dps) rate threshold 0 t(n) t(n) t(n) interrupt counter duration value ?wait? disabled ? wait bit = ?1?   interrupt disabled after duration sample (sort of hysteresis) rate (dps) rate threshold 0 t(n) t(n) t(n) interrupt counter duration value ?wait? enabled duration value is the same used to validate interrupt
register description LSM9DS0 52/74 docid024763 rev 2 8.23 out_temp_l_xm (05h), out_temp_h_xm (06h) temperature sensor data. refer to section 4.4: temperature sensor for details on how to enable and read the temperature sensor output data. 8.24 status_reg_m (07h) 8.25 out_x_l_m (08h), out_x_h_m (09h) x-axis magnetic data. the value is expressed in 16 - bit as two?s complement left justified. 8.26 out_y_l_m (0ah), out_y_h_m (0bh) y-axis magnetic data. the value is expressed in 16 - bit as two?s complement left justified. table 61. status_reg_m register zyxmor zmor ymor xmor zyxmda zmda ymda xmda table 62. status_reg_m description zyxmor magnetic x, y and z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new set of data has overwritten the previous ones). zmor z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the z-axis has overwritten the previous one) ymor y-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the y-axis has overwritten the previous one) xmor x-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the x-axis has overwritten the previous one) zyxmda x, y and z-axis new data available. default value: 0 (0: a new set of data is not yet available; 1: a new set of data is available). zmda z-axis new data available. default value: 0 (0: a new set of data for the z-axis is not yet available; 1: a new set of data for the z-axis is available) ymda y-axis new data available. default value: 0 (0: a new set of data for the y-axis is not yet available; 1: a new set of data for the y-axis is available) xmda x-axis new data available. default value: 0 (0: a new set of data for the x-axis is not yet available; 1: a new set of data for the x-axis is available)
docid024763 rev 2 53/74 LSM9DS0 register description 74 8.27 out_z_l_m (0ch), out_z_h_m (0dh) z-axis magnetic data. the value is expressed in 16 - bit as two?s complement left justified. 8.28 who_am_i_xm (0fh) device identification register. 8.29 int_ctrl_reg_m (12h) table 63. who_am_i_xm register 010 01001 table 64. int_ctrl_reg_m register xmien ymien zmien pp_od iea iel 4d mien table 65. int_ctrl_reg_m description xmien enable interrupt recognition on x-axis for magnetic data. default value: 0. (0: disable interrupt recognition;1: enable interrupt recognition) ymien enable interrupt recognition on y-axis for magnetic data. default value: 0. (0: disable interrupt recognition;1: enable interrupt recognition) zmien enable interrupt recognition on z-axis for magnetic data. default value: 0. (0: disable interrupt recognition;1: enable interrupt recognition) pp_od interrupt pin configuration. default value: 0. (0: push-pull; 1: open drain) iea interrupt polarity for both accelerometer and magnetometer. default value: 0. (0: interrupt active-low; 1: interrupt active-high) iel latch interrupt request on accelerometer int_gen_1_src (31h) and int_gen_2_src (35h) registers, and magnetometer int_src_reg_m (13h) register. default value: 0. (0: interrupt request not latched; 1: interrupt request latched) once the iel is set to ?1? the interrupt is cleared by reading for the accelerometer the int_gen_1_src (31h) and int_gen_2_src (35h) registers, and for the magnetome- ter the int_src_reg_m (13h) register. 4d 4d enable: 4d detection on acceleration data is enabled when 6d bit in int_gen_1_reg (30h) is set to 1. mien enable interrupt generation for magnetic data. default value: 0. (0: disable interrupt generation;1: enable interrupt generation)
register description LSM9DS0 54/74 docid024763 rev 2 8.30 int_src_reg_m (13h) 8.31 int_ths_l_m (14h), int_ths_h_m (15h) magnetic interrupt threshold. default value: 0. the value is expressed in 16-bit unsigned. even if the threshold is expressed in absolute value, the device detects both positive and negative thresholds. 8.32 offset_x_l_m (16h), offset_x_h_m (17h) magnetic offset for x-axis. default value: 0. the value is expressed in 16-bit as two?s complement left justified. 8.33 offset_y_l_m (18h), offset_y_h_m (19h) magnetic offset for z-axis. default value: 0. the value is expressed in 16-bit as two?s complement left justified. 8.34 offset_z_l_m (1ah), offset_z_h_m (1bh) magnetic offset for y-axis. default value: 0. the value is expressed in 16-bit as two?s complement left justified. table 66. int_src_reg_m register m_pth_x m_pth_y m_pth_z m_nth_x m_nth_y m_nth_z mroi mint table 67. int_src_reg_m description m_pth_x magnetic value on x-axis exceeds the threshold on the positive side. default value: 0. m_pth_y magnetic value on y-axis exceeds the threshold on the positive side. default value: 0. m_pth_z magnetic value on z-axis exceeds the threshold on the positive side. default value: 0. m_nth_x magnetic value on x-axis exceeds the threshold on the negative side. default value: 0. m_nth_y magnetic value on y-axis exceeds the threshold on the negative side. default value: 0. m_nth_z magnetic value on z-axis exceeds the threshold on the negative side. default value: 0. mroi internal measurement range overflow on magnetic value. default value: 0. to enable this feature need to set to 1 mien bit in 8.29: int_ctrl_reg_m (12h) mint magnetic interrupt event. the magnetic field value exceeds the threshold. default value: 0.
docid024763 rev 2 55/74 LSM9DS0 register description 74 8.35 reference_x (1ch) reference value for high-pass filter for x-axis acceleration data. 8.36 reference_y (1dh) reference value for high-pass filter for y-axis acceleration data. 8.37 reference_z (1eh) reference value for high-pass filter for z-axis acceleration data. 8.38 ctrl_reg0_xm (1fh) 8.39 ctrl_reg1_xm (20h) table 68. ctrl_reg0_xm register boot fifo_en wtm_en 0 (1) 1. these bits must be set to ?0? for the correct operation of the device 0 (1) hp_click hpis1 hpis2 table 69. ctrl_reg0_xm description boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) fifo_en fifo enable. default value: 0 (0: fifo disable; 1: fifo enable) wtm_en fifo programmable watermark enable. default value: 0 (0: disable; 1: enable) hp_click high-pass filter enabled for click function. default value: 0 (0: filter bypassed; 1: filter enabled) hpis1 high-pass filter enabled for interrupt generator 1. default value: 0 (0: filter bypassed; 1: filter enabled) hpis2 high-pass filter enabled for interrupt generator 2. default value: 0 (0: filter bypassed; 1: filter enabled) table 70. ctrl_reg1_xm register aodr3 aodr2 aodr1 aodr0 bdu azen ayen axen
register description LSM9DS0 56/74 docid024763 rev 2 aodr[3:0] is used to set the power mode and odr selection. the following table indicates all frequencies resulting from the combination of aodr[3:0]. 8.40 ctrl_reg2_xm (21h) table 71. ctrl_reg1_xm description aodr3- aodr0 acceleration data rate selection. default value: 0000 (0000: power-down mode; others: refer to table 72: acceleration data rate configura- tion ) bdu block data update for acceleration and magnetic data. default value: 0 (0: continuous update; 1: output registers not updated until msb and lsb have been read) azen acceleration z-axis enable. default value: 1 (0: z-axis disabled; 1: z-axis enabled) ayen acceleration y-axis enable. default value: 1 (0: y-axis disabled; 1: y-axis enabled) axen acceleration x-axis enable. default value: 1 (0: x-axis disabled; 1: x-axis enabled) table 72. acceleration data rate configuration aodr3 aodr2 aodr1 aodr0 power mode selection 0 0 0 0 power-down mode 0 0 0 1 3.125 hz 0 0 1 0 6.25 hz 0 0 1 1 12.5 hz 0 1 0 0 25 hz 0 1 0 1 50 hz 0 1 1 0 100 hz 0 1 1 1 200 hz 1 0 0 0 400 hz 1 0 0 1 800 hz 1 0 1 0 1600 hz table 73. ctrl_reg2_xm register abw1 abw0 afs2 afs1 afs0 ast1 ast0 sim
docid024763 rev 2 57/74 LSM9DS0 register description 74 8.41 ctrl_reg3_xm (22h) table 74. ctrl_reg2_xm description abw[1:0] accelerometer anti-alias filter bandwidth. default value: 00 refer to table 75: acceleration anti-alias filter bandwidth afs[2:0] acceleration full-scale selection. default value: 000 refer to table 76: acceleration full-scale selection ast[1:0] acceleration self-test enable. default value: 00 (00: self-test disabled; see table 77: self-test mode configuration ) sim spi serial interface mode selection. default value: 0 (0: 4-wire interface; 1: 3-wire interface) table 75. acceleration anti-alias filter bandwidth abw1 abw0 anti-alias filter bandwidth 0 0 773 hz 0 1 194 hz 1 0 362 hz 1 1 50 hz table 76. acceleration full-scale selection afs2 afs1 afs0 acceleration full scale 0 0 0 2 g 0 0 1 4 g 0 1 0 6 g 0 1 1 8 g 1 0 0 16 g table 77. self-test mode configuration ast1 ast0 self-test mode 0 0 normal mode 0 1 positive sign self-test 1 0 negative sign self-test 1 1 not allowed table 78. ctrl_reg3_xm register p1_boot p1_tap p1_int1 p1_int2 p1_intm p1_drdya p1_drdym p1_empty
register description LSM9DS0 58/74 docid024763 rev 2 8.42 ctrl_reg4_xm (23h) table 79. ctrl_reg3_xm description p1_boot boot on int1_xm pin enable. default value: 0 (0: disable; 1: enable) p1_tap tap generator interrupt on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_int1 inertial interrupt generator 1 on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_int2 inertial interrupt generator 2 on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_intm magnetic interrupt generator on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_drdya accelerometer data-ready signal on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_drdym magnetometer data-ready signal on int1_xm pin. default value: 0 (0: disable; 1: enable) p1_empty fifo empty indication on int1_xm pin. default value: 0 (0: disable; 1: enable) table 80. ctrl_reg4_xm register p2_tap p2_int1 p2_int2 p2_intm p2_drdya p2_drdym p2_overrun p2_wtm table 81. ctrl_reg4_xm description p2_tap tap generator interrupt on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_int1 inertial interrupt generator 1 on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_int2 inertial interrupt generator 2 on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_intm magnetic interrupt generator on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_drdya accelerometer data-ready signal on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_drdym magnetometer data-ready signal on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_overrun fifo overrun interrupt on int2_xm pin. default value: 0 (0: disable; 1: enable) p2_wtm fifo watermark interrupt on int2_xm pin. default value: 0 (0: disable; 1: enable)
docid024763 rev 2 59/74 LSM9DS0 register description 74 8.43 ctrl_reg5_xm (24h) 8.44 ctrl_reg6_xm (25h) table 82. ctrl_reg5_xm register temp_en m_res1 m_res0 m_odr2 m_odr1 m_odr0 lir2 lir1 table 83. ctrl_reg5_xm description temp_en temperature sensor enable. default value: 0 (0: temperature sensor disabled; 1: temperature sensor enabled) m_res[1:0] magnetic resolution selection. default value: 00 (00: low resolution, 11: high resolution) m_odr[2:0] magnetic data rate selection. default value: 110 refer to table 84: magnetic data rate configuration lir2 latch interrupt request on int2_src register, with int2_src register cleared by reading int2_src itself. default value: 0. (0: interrupt request not latched; 1: interrupt request latched) lir1 latch interrupt request on int1_src register, with int1_src register cleared by reading int1_src itself. default value: 0. (0: interrupt request not latched; 1: interrupt request latched) table 84. magnetic data rate configuration m_odr2 m_odr1 m_odr0 power mode selection 0 0 0 3.125 hz 0 0 1 6.25 hz 0 1 0 12.5 hz 0 1 1 25 hz 1 0 0 50 hz 1 0 1 100 hz (1) 1. available only for accelerometer odr > 50 hz or accelerometer in power-down mode (refer to table 72, aodr setting). 1 1 0 reserved 1 1 1 reserved table 85. ctrl_reg6_xm register 0 (1) mfs1 mfs0 0 (1) 1. these bits must be set to ?0? for the correct operation of the device 0 (1) 0 (1) 0 (1) 0 (1)
register description LSM9DS0 60/74 docid024763 rev 2 8.45 ctrl_reg7_xm (26h) table 86. ctrl_reg6_xm description mfs1- mfs0 magnetic full-scale selection. default value: 01 refer to table 87: magnetic full-scale selection table 87. magnetic full-scale selection mfs1 mfs0 magnetic full scale 0 0 2 gauss 0 1 4 gauss 1 0 8 gauss 1 1 12 gauss table 88. ctrl_reg7_xm register ahpm1 ahpm0 afds 0 (1) 0 (1) 1. these bits must be set to ?0? for the correct operation of the device mlp md1 md0 table 89. ctrl_reg7_xm description ahpm1- ahpm0 high-pass filter mode selection for acceleration data. default value: 00 refer to table 90: high-pass filter mode selection afds filtered acceleration data selection. default value: 0 (0: internal filter bypassed; 1: data from internal filter sent to output register and fifo) mlp magnetic data low-power mode. default value: 0 if this bit is ?1? the modr is set to 3.125 hz independently from the modr settings. once the bit is set to ?0? the magnetic data rate is configured by modr bits in ctrl_reg5_xm (24h) register. md1-md0 magnetic sensor mode selection. default 10 refer to table 91: magnetic sensor mode selection table 90. high-pass filter mode selection ahpm1 ahpm0 high-pass filter mode 0 0 normal mode (resets x, y and z-axis reading reference_x (1ch) , ref- erence_y (1dh) and reference_y (1dh) registers respectively) 0 1 reference signal for filtering 1 0 normal mode 1 1 autoreset on interrupt event
docid024763 rev 2 61/74 LSM9DS0 register description 74 8.46 status_reg_a (27h) 8.47 out_x_l_a (28h), out_x_h_a (29h) x-axis acceleration data. the value is expressed in 16 bit as two?s complement left justified. table 91. magnetic sensor mode selection md1-0 md1-0 magnetic sensor mode 0 0 continuous-conversion mode 0 1 single-conversion mode 1 0 power-down mode 1 1 power-down mode table 92. status_reg_a register zyxaor zaor yaor xaor zyxada zada yada xada table 93. status_reg_a description zyxaor acceleration x-, y- and z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new set of data has overwritten the previous one) zaor acceleration z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new set of data for the z-axis has overwritten the pre- vious one) yaor acceleration y-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new set of data for the y-axis has overwritten the pre- vious one) xaor acceleration x-axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new set of data for the x-axis has overwritten the pre- vious one) zyxada acceleration x-, y- and z-axis new value available. default value: 0 (0: a new set of data is not yet available; 1: a new set of data is available) zada acceleration z-axis new value available. default value: 0 (0: a new set of data for the z-axis is not yet available; 1: a new set of data for the z-axis is available) yada acceleration y-axis new value available. default value: 0 (0: a new set of data for the y-axis is not yet available; 1: a new set of data for the y-axis is available) xada acceleration x-axis new value available. default value: 0 (0: a new set of data for the x-axis is not yet available; 1: a new set of data for the x- axis is available)
register description LSM9DS0 62/74 docid024763 rev 2 8.48 out_y_l_a (2ah), out_y_h_a (2bh) y-axis acceleration data. the value is expressed in 16-bit as two?s complement left justified. 8.49 out_z_l_a (2ch), out_z_h_a (2dh) z-axis acceleration data. the value is expressed in 16-bit as two?s complement left justified. 8.50 fifo_ctrl_reg (2eh) interrupt generator 2 can change the fifo mode. 8.51 fifo_src_reg (2fh) table 94. fifo_ctrl_reg register fm2 fm1 fm0 fth4 fth3 fth2 fth1 fth0 table 95. fifo_ctrl_reg description fm2-fm0 fifo mode selection. default value: 000 fth4-fth0 fifo watermark level. default value: 00000 table 96. fifo mode configuration fm2 fm1 fm0 fifo mode 0 0 0 bypass mode 0 0 1 fifo mode 0 1 0 stream mode 0 1 1 stream-to-fifo mode 1 0 0 bypass-to-stream mode table 97. fifo_src_reg register wtm ovrn empty fss4 fss3 fss2 fss1 fss0 table 98. fifo_src_reg description wtm watermark status. wtm bit is set to ?1? when fifo content exceeds watermark level. ovrn fifo overrun status. ovrn bit is set to ?1? when fifo buffer is full.
docid024763 rev 2 63/74 LSM9DS0 register description 74 8.52 int_gen_1_reg (30h) this register contains the settings for the inertial interrupt generator 1. empty empty status. empty bit is set to ?1? when all fifo samples have been read and fifo is empty. fss4-fss0 fifo stored data level. fss4-fss0 bits contain the current number of unread fifo levels. table 98. fifo_src_reg description (continued) table 99. int_gen_1_reg register aoi 6d zhie/ zupe zlie/ zdowne yhie/ yupe ylie/ ydowne xhie/ xupe xlie/ xdowne table 100. int_gen_1_reg description aoi and/or combination of interrupt events. default value: 0. refer to table 101: interrupt mode 6d 6-direction detection function enabled. default value: 0. refer to table 101: interrupt mode zhie/ zupe enable interrupt generation on z high event or on direction recognition. default value: 0 (0: disable interrupt request;1: enable interrupt request) zlie/ zdowne enable interrupt generation on z low event or on direction recognition. default value: 0 (0: disable interrupt request;1: enable interrupt request) yhie/ yupe enable interrupt generation on y high event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) ylie/ ydowne enable interrupt generation on y low event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) xhie/ xupe enable interrupt generation on x high event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) xlie/xdowne enable interrupt generation on x low event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) table 101. interrupt mode aoi 6d interrupt mode 0 0 or combination of interrupt events 0 1 6-direction movement recognition 1 0 and combination of interrupt events 1 1 6-direction position recognition
register description LSM9DS0 64/74 docid024763 rev 2 the difference between aoi-6d = ?01? and aoi-6d = ?11? is as follows: aoi-6d = ?01? is movement recognition. an interrupt is generated when the orientation moves from an unknown zone to a known zone. the interrupt signal stays for a duration odr. aoi-6d = ?11? is direction recognition. an interrupt is generated when the orientation is inside a known zone. the interrupt signal stays until the orientation is inside the zone. 8.53 int_gen_1_src (31h) this register contains the status for the inertial interrupt generator 1. reading at this address clears the int_gen_1_src (31h) ia bit (and the interrupt signal on the corresponding interrupt pin) and allows the refreshment of data in the int_gen_1_src (31h) register if the latched option was chosen. 8.54 int_gen_1_ths (32h) table 102. int_gen_1_src register 0 ia zhzlyhylxhxl table 103. int_gen_1_src description ia interrupt status. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no interrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred) table 104. int1_ths register 0 ths6 ths5 ths4 ths3 ths2 ths1 ths0 table 105. int1_ths description ths6 - ths0 interrupt 1 threshold. default value: 000 0000
docid024763 rev 2 65/74 LSM9DS0 register description 74 8.55 int_gen_1_duration (33h) the d6 - d0 bits set the minimum duration of the interrupt 1 event to be recognized. duration steps and maximum values depend on the odr chosen. 8.56 int_gen_2_reg (34h) this register contains the settings for the inertial interrupt generator 2. table 106. int1_duration register 0 d6d5d4d3d2d1d0 table 107. int1_duration description d6 - d0 duration value. default value: 000 0000 table 108. int_gen_2_reg register aoi 6d zhie/ zupe zlie/ zdowne yhie/ yupe ylie/ ydowne xhie/ xupe xlie/ xdowne table 109. int_gen_2_reg description aoi and/or combination of interrupt events. default value: 0. refer to table 109: int_gen_2_reg description 6d 6 direction detection function enabled. default value: 0. refer to table 109: int_gen_2_reg description zhie/ zupe enable interrupt generation on z high event or on direction recognition. default value: 0 (0: disable interrupt request;1: enable interrupt request) zlie/ zdowne enable interrupt generation on z low event or on direction recognition. default value: 0 (0: disable interrupt request;1: enable interrupt request) yhie/ yupe enable interrupt generation on y high event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) ylie/ ydowne enable interrupt generation on y low event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) xhie/ xupe enable interrupt generation on x high event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.) xlie/xdowne enable interrupt generation on x low event or on direction recognition. default value: 0 (0: disable interrupt request; 1: enable interrupt request.)
register description LSM9DS0 66/74 docid024763 rev 2 the difference between aoi-6d = ?01? and aoi-6d = ?11? is as follows: aoi-6d = ?01? is movement recognition. an interrupt is generated when the orientation moves from an unknown zone to a known zone. the interrupt signal stays for a duration odr. aoi-6d = ?11? is direction recognition. an interrupt is generated when the orientation is inside a known zone. the interrupt signal stays until the orientation is inside the zone. 8.57 int_gen_2_src (35h) this register contains the status for the inertial interrupt generator 2. reading at this address clears the int_gen_2_src (35h) ia bit (and the interrupt signal on the corresponding interrupt pin) and allows the refreshment of data in the int_gen_2_src (35h) register if the latched option was chosen. table 110. interrupt mode aoi 6d interrupt mode 0 0 or combination of interrupt events 0 1 6-direction movement recognition 1 0 and combination of interrupt events 1 1 6-direction position recognition table 111. int_gen_2_src register 0 ia zhzlyhylxhxl table 112. int_gen_2_src description ia interrupt status. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no interrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred)
docid024763 rev 2 67/74 LSM9DS0 register description 74 8.58 int_gen_2_ths (36h) 8.59 int_gen_2_duration (37h) the d6 - d0 bits set the minimum duration of the interrupt 2 event to be recognized. duration steps and maximum values depend on the odr chosen. 8.60 click_cfg (38h) table 113. int_gen_2_ths register 0 ths6 ths5 ths4 ths3 ths2 ths1 ths0 table 114. int_gen_2_ths description ths6 - ths0 interrupt 1 threshold. default value: 000 0000 table 115. int_gen_2_duration register 0 d6d5d4d3d2d1d0 table 116. int_gen_2_duration description d6 - d0 duration value. default value: 000 0000 table 117. click_cfg register -- -- zd zs yd ys xd xs table 118. click_cfg description zd enable interrupt double-click on z-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zs enable interrupt single-click on z-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) yd enable interrupt double-click on y-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ys enable interrupt single-click on y-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold)
register description LSM9DS0 68/74 docid024763 rev 2 8.61 click_src (39h) 8.62 click_ths (3ah) xd enable interrupt double-click on x-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xs enable interrupt single-click on x-axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) table 118. click_cfg description table 119. click_src register -- ia dclick sclick sign z y x table 120. click_src description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) dclick double-click enable. default value: 0 (0: double-click detection disabled, 1: double-click detection enabled) sclick single-click enable. default value: 0 (0: single-click detection disabled, 1: single-click detection enabled) sign click sign. 0: positive detection, 1: negative detection z z click detection. default value: 0 (0: no interrupt, 1: z high event has occurred) y y click detection. default value: 0 (0: no interrupt, 1: y high event has occurred) x x click detection. default value: 0 (0: no interrupt, 1: x high event has occurred) table 121. click_ths register - ths6 ths5 ths4 ths3 ths2 ths1 ths0 table 122. click_src description ths6-ths0 click threshold. default value: 000 0000
docid024763 rev 2 69/74 LSM9DS0 register description 74 8.63 time_limit (3bh) 8.64 time_latency (3ch) 8.65 time window (3dh) 8.66 act_ths (3eh) table 123. time_limit register - tli6 tli5 tli4 tli3 tli2 tli1 tli0 table 124. time_limit description tli7-tli0 click time limit. default value: 000 0000 table 125. time_latency register tla7 tla6 tla5 tla4 tla3 tla2 tla1 tla0 table 126. time_latency description tla7-tla0 click time latency. default value: 0000 0000 table 127. time_window register tw7 tw6 tw5 tw4 tw3 tw2 tw1 tw0 table 128. time_window description tw7-tw0 click time window table 129. time_window register -- acth6 acth5 acth4 acth3 acth2 acth1 acth0 table 130. time_window description acth[6:0] sleep-to-wake, return-to-sleep activation threshold 1 lsb = 16 mg
register description LSM9DS0 70/74 docid024763 rev 2 8.67 act_dur (3fh) table 131. act_dur register actd7 actd6 actd5 actd4 actd3 actd2 actd1 actd0 table 132. act_dur description actd[7:0] sleep-to-wake, return-to-sleep duration dur = (act_dur + 1)*8/odr
docid024763 rev 2 71/74 LSM9DS0 package information 74 9 package information in order to meet environmental requirements, st offers these devices in different grades of ecopack ? packages, depending on their level of environmental compliance. ecopack ? specifications, grade definitions and product status are available at: www.st.com. ecopack is an st trademark. note: 1. dimensioning and tolerancing schemes conform to asme y14.5m-1994. 2. all dimensions are in millimeters. 3. the ?pin 1 indicator? is identified on top and/or bottom surfaces of the package. 4. a1 is defined as the distance from the seating plane to the land. 5. ?n? is the maximum number of terminal positions for the specified body size. 6. the tolerance of the typical value is specified in table "tolerance of form and position". 7. dimensions ?b? and ?l? are specified: for solder mask defined: at terminal plating surface for non-solder mask defined: at solder mask opening table 133. lga 4x4x1 mm 24-lead mechanical data (see note 1 and 2) databook symbol min. typ. max. note a 1.070 a1 0.000 - 0.050 4 b 0.200 7 d 4.000 6 d2 1.750 e 4.000 6 e2 1.750 e1 0.500 e2 2.500 l 0.350 7 l1 - 0.100 - l2 - 0.100 - n24 5 r1 - 0.080 - symbol tolerance of form and position databook d/e 0.15 notes 1 and 2 ref -
package information LSM9DS0 72/74 docid024763 rev 2 figure 21. lga 4x4x1 mm 24-lead outline 8382494_b
docid024763 rev 2 73/74 LSM9DS0 revision history 74 10 revision history table 134. document revision history date revision changes 24-jun-2013 1 initial release 05-aug-2013 2 updated la_so in table 3 updated figure 4 , figure 5 , and table 7 updated section 5.1 updated section 9: package information minor textual updates throughout section 8: register description
LSM9DS0 74/74 docid024763 rev 2 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. a ll st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a particular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. st products are not authorized for use in weapons. nor are st products designed or authorized for use in: (a) safety critical applications such as life supporting, active implanted devices or systems with product functional safety requirements; (b) aeronautic applications; (c) automotive applications or environments, and/or (d) aerospace applications or environments. where st products are not designed for such use, the purchaser shall use products at purchaser?s sole risk, even if st has been informed in writing of such usage, unless a product is expressly designated by st as being intended for ?automotive, a utomotive safety or medical? industry domains according to st product design specifications. products formally escc, qml or jan qualified are deemed suitable for use in aerospace by the corresponding governmental agency. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2013 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of LSM9DS0

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X